/**
 * @author vidy3587@gmail.com
 */
import HostVote from "@/pages/host-vote"

export const HostRoute = [
    {path: "", redirect: {
         name: "host_vote"
        }},
    {
        path: "/vote",
        name: "host_vote",
        // component:() => import(/* webpackChunkName: "HostVote" */ "@/pages/host/host-vote"),
        component:HostVote,
        // component: HostVote
    },
    {
        path: "/detail/:queryParams",
        name: "host_detail",
        component: () => import(/* webpackChunkName: "HostDetail" */ "@/pages/host-detail")
    },
    {path: "/publish", name: "publish", component:() => import(/* webpackChunkName: "publish" */ "@/pages/publish")},
    /**排行榜*/
    {path: "/rank", name: "hostRank", component:() => import(/* webpackChunkName: "host_rank" */ "@/pages/rank")},
    {path: "/result", name: "hostResult", component:() => import(/* webpackChunkName: "host_rank" */ "@/pages/result")},
]
